package com.zhangshuo.common.shiro;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/6/2 0002.
 * shiro 需要的user对象
 */
public class ShiroUser implements Serializable {
    
    private Long id;
    private String userName;
    private String password;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    @Override
    public String toString() {
        return userName;
    }
}
